import { TextStyle } from 'react-native';
/*
 * @Author: shiguo
 * @Date: 2022-04-24 17:38:32
 * @LastEditors: shiguo
 * @LastEditTime: 2022-11-10 12:15:56
 * @FilePath: /@aks-dev/easyui/lib/MutiPictureView/index.ts
 */
import { StyleProp, ViewStyle, ImageStyle, ImageSourcePropType } from 'react-native'

type ViewModelProps = {
    photos?: any[];
    /**@deprecated  disabled 图片点击状态，已弃用*/
    disabled?: boolean;
    imageViewer: {
        imageUrls: any[],
        index: number,
        visible: boolean
    }
}


type BindProps = {
    viewModel: ViewModelProps;
    setViewModel: (intent: Partial<ViewModelProps>) => void
}



export declare type MutiPictureViewProps = {
    /**@deprecated  title 标题 ，已弃用*/
    title?: string;
    bind: BindProps;
    /**default maxCount is  6 */
    maxCount?: number;
    /**default type is showImagePicker */
    type?: 'showImagePicker' | 'openCamera';
    style?: StyleProp<ViewStyle>;
    addIcon?: ImageSourcePropType;
    addIconStyle?: StyleProp<ImageStyle>;
    addText?: string;
    addTextStyle?: StyleProp<TextStyle>;
    addIconContainerStyle?: StyleProp<ViewStyle>;
    itemContainerStyle?: StyleProp<ViewStyle>;
    delIcon?: ImageSourcePropType;
    delIconStyle?: StyleProp<ImageStyle>;
    /**外边距 */
    spacingHorizontal?: number;
    /**内边距 */
    spacingInner?: number;
    /**仅仅看看，不增减图片 */
    editable?: boolean;
    /**这个属性会覆盖bind.viewModel.photos */
    value?: (string | { uri: string })[];
    /**default false 空视图占位 */
    showEmptyPlaceHolder?: boolean;
    emptyPlaceHolderStyle?: StyleProp<ViewStyle>;
}


export declare const MutiPictureView: React.FC<MutiPictureViewProps>;


